package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 分享任务领取记录表
 *
 * @author nianhua.jiang
 */
@ApiModel(value = "com-shycloud-mido-member-api-entity-SmMemberTaskRecord")
@Data
@TableName(value = "sm_member_task_record")
public class SmMemberTaskRecord {

	@TableId(value = "id", type = IdType.UUID)
	@ApiModelProperty(value = "")
	private String id;
	/** 任务ID */
	@TableField(value = "task_id")
	@ApiModelProperty(value = "任务ID")
	private Integer taskId;
	/** 分享用户ID */
	@TableField(value = "from_member_id")
	@ApiModelProperty(value = "分享用户ID")
	private String fromMemberId;
	/** 领取用户ID */
	@TableField(value = "to_member_id")
	@ApiModelProperty(value = "领取用户ID")
	private String toMemberId;

	@TableField(value = "create_time")
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	public static final String COL_ID = "id";

	public static final String COL_TASK_ID = "task_id";

	public static final String COL_FROM_MEMBER_ID = "from_member_id";

	public static final String COL_TO_MEMBER_ID = "to_member_id";

	public static final String COL_CREATE_TIME = "create_time";
}